package com.tedu.egweibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CommentListVO {
    @ApiModelProperty(value = "评论id",required = true,example = "1")
    private Integer id;
    @ApiModelProperty(value = "评论内容",required = true,example = "评论内容")
    private String content;
    @ApiModelProperty(value = "评论人的昵称",required = true,example = "昵称")
    private String nickname;
    @ApiModelProperty(value = "评论时间",required = true,example = "2020/01/01 12:12:12")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date created;
}
